import { ControlWidget } from '@delon/form';
import { Component, ViewChild } from '@angular/core';
import { LbKA03Component } from '@shared/components/lbcstdic/ka03/ka03';

@Component({
  // tslint:disable-next-line:component-selector
  selector: 'sf-lbka03',
  templateUrl: './ka03.widgets.html',
})
export class Lbka03WidgetComponent extends ControlWidget {
   /* 用于注册小部件 KEY 值 */
   static readonly KEY = 'lbka03';

   @ViewChild('ka03',{static:false}) ka03:LbKA03Component


   reset(value:any){
      
      this.ka03.reset(value);
      super.reset(value);
   }

   setValue(value:any){
     this.ka03.setvalue(value);
     super.setValue(value);
   }

   selecChange(value:string){
    console.log(value);
     super.setValue(value);
   }


}